package com.xxd.spring.boot.demo.wubolin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xxd.spring.boot.demo.wubolin.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface StudentMapper extends BaseMapper<Student> {
    public IPage<Student> listPage(Page page, @Param("student") Map<String,Object> map);

    public int myupdateData(@Param("student") Student student);

    public int mydeleteData(@Param("id") Integer id);

    public Student stuFraction(String num);

    List<Student> all();
}
